package com.xzl.zuul.service;
import com.xxxx.server.pojo.Admin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "login-service")
public interface LoginServerService {
    @GetMapping("/admin/getAdminByUserName")
    Admin getAdminByUserName(@RequestParam("userName") String userName);
}
